home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1171 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.xnet.com!kd9fb
  2. From: kd9fb@flood.xnet.com (Peter Mikalajunas)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: 2 C under VMS questions
  5. Date: 11 Jan 1996 22:30:06 GMT
  6. Organization: XNet - A Full Service Internet Provider - (708) 983-6064
  7. Distribution: world
  8. Message-ID: <4d431e$2v@flood.xnet.com>
  9. References: <4d3eok$hm4@netope.harvard.edu>
  10. NNTP-Posting-Host: cyclone.xnet.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Richard Congdon (richard@phdcn.harvard.edu) wrote:
  14.  
  15. : A couple questions for VMS C gurus"
  16.  
  17. : 1) Is there any way to do this on VMS?
  18. :         freopen(optarg,"rt",stdin)
  19. :    This call fails.  Do I want something other than stdin?
  20.  
  21. What Compiler? ie, VAX C or DEC C 
  22. Which version of OpenVMS?
  23. Is the box Alpha or VAX?
  24.  
  25. Take a look at the curses library.  The "rt" will never fly by
  26. the way.  Look in DEC/VAC C manuals and you will find out why.
  27.  
  28. : 2) Is there any functional equivalent to Unix ftruncate() or DOS chsize()?
  29.  
  30. Again, read the compiler manual.  It is in there.  Hint, take a
  31. look under RMS.
  32.  
  33. : email replies would be preferable...
  34.  
  35. :         Richard Congdon
  36. :         Harvard School of Public Health
  37. :         617/432-0995
  38.  
  39.  
  40. Peter Mikalajunas 
  41. kd9fb@xnet.com
  42. http://www.xnet.com/~kd9fb
  43.